package com.lzw.breezeNovel.webApp.mapper.video;

import com.lzw.breezeNovel.model.entity.pojo.video.AnimeEpisode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.webApp.mapper.video
 * @date 2025/3/20
 * @description
 */
@Mapper
@SuppressWarnings("all")
public interface AnimeEpisodeMapper {

    /**
     * 根据动漫id查询集
     */
    @Select("select season_number,episode_number,show_name,video_url,cover_image from anime_episode where anime_id = #{animeId} ")
    List<AnimeEpisode> getAnimeEpisodeByAnimeId(Long animeId);
}
